package cn.edu.wfit.modules.learn.mapper.competitionmanagement;

import cn.edu.wfit.modules.learn.domain.WfitCompetitionTeamregistration;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 团队赛队伍报名Mapper接口
 * 
 * @author ruoyi
 * @date 2025-07-28
 */
@Mapper
public interface WfitCompetitionTeamregistrationMapper
{
    /**
     * 查询团队赛队伍报名
     * 
     * @param id 团队赛队伍报名主键
     * @return 团队赛队伍报名
     */
    public WfitCompetitionTeamregistration selectWfitCompetitionTeamregistrationById(Long id);

    /**
     * 查询团队赛队伍报名列表
     * 
     * @param wfitCompetitionTeamregistration 团队赛队伍报名
     * @return 团队赛队伍报名集合
     */
    public List<WfitCompetitionTeamregistration> selectWfitCompetitionTeamregistrationList(WfitCompetitionTeamregistration wfitCompetitionTeamregistration);

    /**
     * 新增团队赛队伍报名
     * 
     * @param wfitCompetitionTeamregistration 团队赛队伍报名
     * @return 结果
     */
    public int insertWfitCompetitionTeamregistration(WfitCompetitionTeamregistration wfitCompetitionTeamregistration);

    /**
     * 修改团队赛队伍报名
     * 
     * @param wfitCompetitionTeamregistration 团队赛队伍报名
     * @return 结果
     */
    public int updateWfitCompetitionTeamregistration(WfitCompetitionTeamregistration wfitCompetitionTeamregistration);

    /**
     * 删除团队赛队伍报名
     * 
     * @param id 团队赛队伍报名主键
     * @return 结果
     */
    public int deleteWfitCompetitionTeamregistrationById(Long id);

    /**
     * 批量删除团队赛队伍报名
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWfitCompetitionTeamregistrationByIds(Long[] ids);

    /**
     * 根据学号查询团队赛队伍报名
     *
     * @param studentId 学号
     * @return 结果
     */
   List<WfitCompetitionTeamregistration> selectWfitCompetitionTeamregistrationBystudentId(String studentId);
}
